package com.beautify.service;

import com.beautify.entity.pojo.Result;
import com.beautify.entity.pojo.User;

public interface UserService {
    Result login(String username, String password);

    Result register(Integer types, String username, String password);

    Result deleteUser(Integer userid);

    Result updateUser(User user);

    Result updatePassword(String oldPassword, String newPassword, Integer userId);

    Result getById(Integer userid);

    User getByIdToUser(Integer userid);

    Result getDeviceIdentifier();
}
